<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/competition-common :: common_head(~{::link},~{::script})">
  <meta charset="utf-8">
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
  <meta content="" name="description">
  <meta content="" name="keywords">
  <!-- **********asset*************-->
  <!-- Favicons -->
  <link href="/assets/img/favicon.png" rel="icon">
  <link href="/assets/img/apple-touch-icon.png" rel="apple-touch-icon">
  <!-- Vendor CSS Files -->
  <link href="/assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="/assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
  <link href="/assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  <link href="/assets/vendor/quill/quill.snow.css" rel="stylesheet">
  <link href="/assets/vendor/quill/quill.bubble.css" rel="stylesheet">
  <link href="/assets/vendor/remixicon/remixicon.css" rel="stylesheet">
  <link href="/assets/vendor/simple-datatables/style.css" rel="stylesheet">
  <!-- Template Main CSS File -->
  <link href="/assets/css/style.css" rel="stylesheet">
  <a class="back-to-top d-flex align-items-center justify-content-center" href="#"><i
          class="bi bi-arrow-up-short"></i></a>
  <!-- Vendor JS Files -->
  <script src="/assets/vendor/apexcharts/apexcharts.min.js"></script>
  <script src="/assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="/assets/vendor/chart.js/chart.min.js"></script>
  <script src="/assets/vendor/echarts/echarts.min.js"></script>
  <script src="/assets/vendor/quill/quill.min.js"></script>
  <script src="/assets/vendor/simple-datatables/simple-datatables.js"></script>
  <script src="/assets/vendor/tinymce/tinymce.min.js"></script>
  <script src="/assets/vendor/php-email-form/validate.js"></script>
  <!-- Template Main JS File -->
  <script src="/assets/js/main.js"></script>
</head>
<body>
<div th:replace="common/competition-common::mall-header"></div>

<!-- 侧边栏 -->
<div th:replace="common/competition-common::competition-sidebar"></div>

<main id="main" class="main">
  <div class="container">
    <!-- Team Card -->
    <div class="card mb-3" th:each="team : ${myTeams}">
      <div class="row g-0">
        <div class="col-md-4">
          <img src="/assets/img/team-logo.png" class="img-fluid rounded-start" alt="团队Logo">
        </div>
        <div class="col-md-8">
          <div class="card-body">
            <a th:href="@{'/manage?tid='} + ${team.teamid}">
            <h5 class="card-title" th:text="${team.teamname}" >团队名称</h5>
            </a>
            <p class="card-text" th:text="${team.adviserTeacher}"></p>
          </div>
        </div>
      </div>
    </div>

    <!-- Add Team Card -->
    <div class="card text-center">
      <div class="card-body">
        <h5 class="card-title">增加新团队</h5>
        <p class="card-text">点击按钮以增加新团队。</p>
        <a href="/createTeam" class="btn btn-primary">增加团队</a>
      </div>
    </div>
  </div>
</main>

<footer id="footer" class="footer">
  <div class="copyright">
    Copyright2024@杭州助你成才计算机信息学院
  </div>

  </div>
</footer><!-- End Footer -->


</body>

</html>